unit uIndiceRejuste;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, Buttons, Mask, JvExMask, JvToolEdit, JvBaseEdits,
  ExtCtrls;

type
  TfIndiceRejuste = class(TForm)
    pnl1: TPanel;
    lbl1: TLabel;
    Edit1: TJvCalcEdit;
    pnl2: TPanel;
    BitBtn1: TBitBtn;
    BitBtn2: TBitBtn;
    lbl2: TLabel;
    procedure BitBtn1Click(Sender: TObject);
    procedure BitBtn2Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fIndiceRejuste: TfIndiceRejuste;

implementation

uses UDM;

{$R *.dfm}

procedure TfIndiceRejuste.BitBtn1Click(Sender: TObject);
begin
   dm.vIndiceReajuste := 'SIM';
   dm.vIndice := Edit1.Value;
   close;
end;

procedure TfIndiceRejuste.BitBtn2Click(Sender: TObject);
begin
   dm.vIndiceReajuste := 'NAO';
   close;
end;

end.
